package com.fzkjjt.nacos;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.util.StopWatch;

/**
 * @program: optms-nacos
 * @description:
 * @author: FangZhen
 * @create: 2020-08-12 13:13
 **/
@Slf4j
@SpringBootApplication
public class NacosConsumerApplication {

    public static void main(String[] args) {
        StopWatch stopWatch = new StopWatch();
        stopWatch.start("NacosConsumerApplication run-application");
        SpringApplication.run(NacosConsumerApplication.class, args);
        stopWatch.stop();
        log.info("NacosConsumerApplication run end! {}", stopWatch.prettyPrint());
    }
}
